home *** CD-ROM | disk | FTP | other *** search
/ Custom 3D Land / Custom 3D Home.iso / STARTUP / AUTORUN.SPT < prev    next >
Text File  |  2004-09-28  |  6KB  |  203 lines

  1. topic 
  2.     name "Autorun"                                                // This will appear in the caption for all screens in this topic
  3. path "resource\screens\"                                                        // This path is relative to the executable you can change the path at any time
  4.     screen 
  5.         name "Background"                                                        // This is what will apper in the caption in brackets
  6.         file "bkgrnd.bmp"
  7.         OnDialogeAct
  8.         begin
  9.             if install1 then 
  10.                 begin
  11.                     show target "run1"
  12.                     //show target "uninst1"
  13.                     // hide target "prev1"
  14.                     hide target "install1"
  15.                 end
  16.             else
  17.                 begin 
  18.                     // show target "prev1"
  19.                     show target "install1"
  20.                     hide target "run1"
  21.                     //hide target "uninst1"
  22.                 end
  23.  
  24.             if install2 then
  25.                 begin
  26.                     show target "run2"
  27.                     //show target "uninst2"
  28.                     // hide target "prev2"
  29.                     hide target "install2"
  30.                 end
  31.             else
  32.                 begin
  33.                     // show target "prev2"
  34.                     show target "install2"
  35.                     hide target "run2"
  36.                     //hide target "uninst2"
  37.                 end
  38.  
  39.             if install3 then
  40.                 begin
  41.                     show target "run3"
  42.                     show target "uninst3"
  43.                     // hide target "prev3"
  44.                     hide target "install3"
  45.                 end
  46.             else
  47.                 begin
  48.                     // show target "prev3"
  49.                     show target "install3"
  50.                     hide target "run3"
  51.                     hide target "uninst3"
  52.                 end
  53.  
  54.             if install4 then
  55.                 begin
  56.                     show target "run4"
  57.                     show target "uninst4"
  58.                     // hide target "prev4"
  59.                     hide target "install4"
  60.                 end
  61.             else
  62.                 begin
  63.                     // show target "prev4"
  64.                     show target "install4"
  65.                     hide target "run4"
  66.                     hide target "uninst4"
  67.                 end
  68.  
  69.         end                            
  70.         OnLoad
  71.         begin
  72.             if install1 then 
  73.                 begin
  74.                     show target "run1"
  75.                     //show target "uninst1"
  76.                     // hide target "prev1"
  77.                     hide target "install1"
  78.                 end
  79.             else
  80.                 begin 
  81.                     // show target "prev1"
  82.                     show target "install1"
  83.                     hide target "run1"
  84.                     //hide target "uninst1"
  85.                 end
  86.  
  87.             if install2 then
  88.                 begin
  89.                     show target "run2"
  90.                     //show target "uninst2"
  91.                     // hide target "prev2"
  92.                     hide target "install2"
  93.                 end
  94.             else
  95.                 begin
  96.                     // show target "prev2"
  97.                     show target "install2"
  98.                     hide target "run2"
  99.                     //hide target "uninst2"
  100.                 end
  101.  
  102.             if install3 then
  103.                 begin
  104.                     show target "run3"
  105.                     show target "uninst3"
  106.                     // hide target "prev3"
  107.                     hide target "install3"
  108.                 end
  109.             else
  110.                 begin
  111.                     // show target "prev3"
  112.                     show target "install3"
  113.                     hide target "run3"
  114.                     hide target "uninst3"
  115.                 end
  116.  
  117.             if install4 then
  118.                 begin
  119.                     show target "run4"
  120.                     show target "uninst4"
  121.                     // hide target "prev4"
  122.                     hide target "install4"
  123.                 end
  124.             else
  125.                 begin
  126.                     // show target "prev4"
  127.                     show target "install4"
  128.                     hide target "run4"
  129.                     hide target "uninst4"
  130.                 end
  131.  
  132.         end                                                        // This is the background image for the screen the window is automatically sized to this bitmaps size
  133. path "resource\buttons\"                                                         // This path is relative to the executable you can change the path at any time
  134.         hotspot name "run1" x 280 y 120 out "run_up.bmp" over "run_over.bmp" down "run_down.bmp"
  135.             visible false            
  136.             OnMouseClick extern runProduct1
  137.         hotspot name "install1" x 280 y 120 out "install_up.bmp" over "install_over.bmp" down "install_down.bmp"    
  138.             visible false
  139.             OnMouseClick
  140.             begin
  141.                 extern runSetup1
  142.             end
  143.  
  144.         //hotspot name "uninst1" x 280 y 120 out "uninstall_up.bmp" over "uninstall_over.bmp" down "uninstall_down.bmp"
  145.         //    visible false            
  146.         //    OnMouseClick
  147.         //    begin
  148.         //        extern runUninstall1
  149.         //    end
  150.  
  151.         hotspot name "run2" x 280 y 189 out "run_up.bmp" over "run_over.bmp" down "run_down.bmp"
  152.             visible false
  153.             OnMouseClick extern runProduct2
  154.         hotspot name "install2" x 280 y 189 out "install_up.bmp" over "install_over.bmp" down "install_down.bmp"
  155.             visible false
  156.             OnMouseClick
  157.             begin
  158.                 extern runSetup2
  159.             end
  160.         //hotspot name "uninst2" x 280 y 189 out "uninstall_up.bmp" over "uninstall_over.bmp" down "uninstall_down.bmp"
  161.         //    visible false            
  162.         //    OnMouseClick
  163.         //    begin
  164.         //        extern runUninstall2
  165.         //    end
  166.  
  167.         hotspot name "run3" x 380 y 259 out "run_up.bmp" over "run_over.bmp" down "run_down.bmp"// Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  168.             visible false
  169.             OnMouseClick extern runProduct3
  170.         hotspot name "install3" x 280 y 259 out "install_up.bmp" over "install_over.bmp" down "install_down.bmp"        // Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  171.             visible false
  172.             OnMouseClick
  173.             begin
  174.                 extern runSetup3
  175.             end
  176.         hotspot name "uninst3" x 280 y 259 out "uninstall_up.bmp" over "uninstall_over.bmp" down "uninstall_down.bmp"        // Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  177.             visible false            
  178.             OnMouseClick
  179.             begin
  180.                 extern runUninstall3
  181.             end
  182.  
  183.         hotspot name "run4" x 380 y 330 out "run_up.bmp" over "run_over.bmp" down "run_down.bmp"// Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  184.             visible false
  185.             OnMouseClick extern runProduct6
  186.  
  187.         hotspot name "install4" x 280 y 330 out "view_up.bmp" over "view_over.bmp" down "view_down.bmp"        // Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  188.             visible false
  189.             OnMouseClick
  190.             begin
  191.                 extern runSetup4
  192.             end
  193.         hotspot name "uninst4" x 280 y 330 out "uninstall_up.bmp" over "uninstall_over.bmp" down "uninstall_down.bmp"        // Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  194.             visible false            
  195.             OnMouseClick
  196.             begin
  197.                 extern runUninstall4
  198.             end
  199.  
  200.  
  201.         hotspot name "quit" x 500 y 450 out "quit_up.bmp" over "quit_over.bmp" down "quit_down.bmp"// Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  202.             OnMouseClick exit
  203.